<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
    String path=request.getContextPath();  
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>"></base>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>评委信息检索导出</title>
<link rel="stylesheet" href="js/plugins/jquery-ui/themes/redmond/jquery-ui.min.css" />
<link rel="stylesheet" href="js/plugins/jqGrid/css/ui.jqgrid.css" />
<link rel="stylesheet" href="js/plugins/ajaxFileUploader/ajaxfileupload.css" />
<link rel="stylesheet" href="css/layout.css" type="text/css" />
<script type="text/javascript" src="js/jquery-1.8.3.js"></script>
<script type="text/javascript" src="js/plugins/jqGrid/js/i18n/grid.locale-cn.js"></script>
<script type="text/javascript" src="js/plugins/jqGrid/js/jquery.jqGrid.min.js"></script>
<script type="text/javascript" src="js/plugins/jquery-ui/ui/jquery-ui.js"></script>
<script type="text/javascript" src="js/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-zh-CN.js"></script>
<script type="text/javascript" src="js/plugins/noty/jquery.noty.js"></script>
<script type="text/javascript" src="js/plugins/noty/layouts/topRight.js"></script>
<script type="text/javascript" src="js/plugins/noty/layouts/top.js"></script>
<script type="text/javascript" src="js/plugins/noty/layouts/center.js"></script>
<script type="text/javascript" src="js/plugins/noty/themes/default.js"></script>
<script type="text/javascript" src="js/plugins/ajaxFileUploader/ajaxfileupload.js"></script>

<script type="text/javascript" src="js/AC_RunActiveContent.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/judge/judgeExport.js"></script>
<script>
    $(function() {
        setupMenu();

        setupContent();

        setupJudgeExportGrid();

        setupJudgeExportToolbar();

        setupJudgeExportDialog();

		$.datepicker.setDefaults($.datepicker.regional[ "zh-CN" ]);
        $("#birthdayFrom").datepicker({dateFormat: "yy-mm-dd", changeMonth: true, changeYear: true, yearRange: "-99:+0"});
        $("#birthdayTo").datepicker({dateFormat: "yy-mm-dd", changeMonth: true, changeYear: true, yearRange: "-99:+0"});
    });
</script>
<style>
#judgeDetail input {
 width:150px;
}
#judgeDetail select {
 width:150px;
}
#judgeDetail textarea {
 width:400px;
}
#judgeDetail td {
 padding:5px;
}
.title {
 text-align:right;
}
.gridBtn {
 width:65px;
}
</style>
</head>
<body>
 <div id="container">
  <%@ include file="../header.jsp"%>
  <div id="mainContent">
   <div id="tabs">
    <ul>
     <li><a href="#tab">评委信息检索导出</a></li>
    </ul>
    <div id="tab">
     <div id="toolbar">
      <button id="search">评委信息检索</button>
      <button id="keywordMatch">关键字筛选</button>
      <button id="export">评委信息导出</button>
     </div>
     <table id="judgeSearch"></table>
     <div id="pager"></div>
    </div>
   </div>
   <div id="keywordDetail" title="评委信息关键字筛选">
     <div>关键字</div>
     <div><input type="text" id="keyword" class="text ui-widget-content ui-corner-all" /></div>
   </div>
   <div id="detail" title="评委信息检索条件">
    <s:form id="judgeDetail" action="judgeExcelExport.action">
     <table border="0" cellpadding="0" cellspacing="0">
      <tr>
       <td class="title">姓名</td>
       <td><input type="text" name="judgeSearch.name" id="name" maxlength="16" class="text ui-widget-content ui-corner-all" /></td>
       <td class="title">性别</td>
       <td>
         <select name="judgeSearch.sex" id="sex" class="text ui-widget-content ui-corner-all">
           <option value="-1">不限</option>
           <option value="1">男</option>
           <option value="0">女</option>
         </select>
       </td>
      </tr>
      <tr>
       <td class="title">出生日期</td>
       <td>
         <input type="text" name="judgeSearch.birthdayFrom" id="birthdayFrom" maxlength="12" class="text ui-widget-content ui-corner-all" />
       </td>
       <td>&nbsp;</td>
       <td>
        <input type="text" name="judgeSearch.birthdayTo" id="birthdayTo" maxlength="12" class="text ui-widget-content ui-corner-all" />
       </td>
      </tr>
      <tr>
       <td class="title">籍贯</td>
       <td>
         <input type="text" name="judgeSearch.hometown" maxlength="12" id="hometown" class="text ui-widget-content ui-corner-all" /></td>
       <td class="title">毕业院校</td>
       <td><input type="text" name="judgeSearch.graduatedFrom" id="graduatedFrom" maxlength="32" value="" class="text ui-widget-content ui-corner-all" /></td>
      </tr>
      <tr>
       <td class="title">最低学历</td>
       <td>
         <select name="judgeSearch.topEducation" id="topEducation" class="text ui-widget-content ui-corner-all">
           <option value="-1">不限</option>
           <option value="0">专科</option>
           <option value="1">本科</option>
           <option value="2">硕士</option>
           <option value="3">博士</option>
           <option value="4">博士后</option>
         </select>
       </td>
       <td class="title">办学形式</td>
       <td>
         <select name="judgeSearch.educationType" id="educationType" class="text ui-widget-content ui-corner-all">
           <option value="-1">不限</option>
           <option value="0">统招</option>
           <option value="1">脱产</option>
           <option value="2">自学教育</option>
         </select>
       </td>
      </tr>
      <tr>
       <td class="title">身份证号</td>
       <td><input type="text" name="judgeSearch.idNo" id="idNo" maxlength="18" class="text ui-widget-content ui-corner-all" /></td>
       <td class="title">专业</td>
       <td><input type="text" name="judgeSearch.subject" id="subject" maxlength="32" value="" class="text ui-widget-content ui-corner-all" /></td>
      </tr>
      <tr>
       <td class="title">工作单位</td>
       <td><input type="text" name="judgeSearch.workUnit" id="workUnit" value="" maxlength="64" class="text ui-widget-content ui-corner-all" /></td>
       <td class="title">职称</td>
       <td><input type="text" name="judgeSearch.title" id="title" value="" maxlength="32" class="text ui-widget-content ui-corner-all" /></td>
      </tr>
      <tr>
       <td class="title">行政职务</td>
       <td><input type="text" name="judgeSearch.post" id="post" value="" maxlength="32" class="text ui-widget-content ui-corner-all" /></td>
       <td class="title">技能资格证书</td>
       <td><input type="text" name="judgeSearch.skillsCert" id="skillsCert" value="" maxlength="32" class="text ui-widget-content ui-corner-all" /></td>
      </tr>
      <tr>
       <td class="title">办公电话</td>
       <td><input type="text" name="judgeSearch.workPhone" id="workPhone" value="" maxlength="32" class="text ui-widget-content ui-corner-all" /></td>
       <td class="title">手机</td>
       <td><input type="text" name="judgeSearch.cellPhone" id="cellPhone" value="" maxlength="16" class="text ui-widget-content ui-corner-all" /></td>
      </tr>
      <tr>
       <td class="title">家庭电话</td>
       <td><input type="text" name="judgeSearch.homePhone" id="homePhone" maxlength="32" value="" class="text ui-widget-content ui-corner-all" /></td>
       <td class="title">QQ</td>
       <td><input type="text" name="judgeSearch.imAddress" id="imAddress" value="" maxlength="64" class="text ui-widget-content ui-corner-all" /></td>
      </tr>
      <tr>
       <td class="title">邮箱</td>
       <td><input type="text" name="judgeSearch.mailAddress" id="mailAddress" value="" maxlength="64" class="text ui-widget-content ui-corner-all" /></td>
       <td class="title">单位地址</td>
       <td><input type="text" name="judgeSearch.workAddress" id="workAddress" value="" maxlength="128" class="text ui-widget-content ui-corner-all" /></td>
      </tr>
      <tr>
       <td class="title">地址</td>
       <td colspan="3"><input type="text" name="judgeSearch.address" id="address" value="" maxlength="128" class="text ui-widget-content ui-corner-all" /></td>
      </tr>
      <tr>
       <td class="title">教育和培训经历</td>
       <td colspan="3">
         <textarea rows="3" cols="28" name="judgeSearch.trainExperience" id="trainExperience" class="text ui-widget-content ui-corner-all"></textarea>
       </td>
      </tr>
      <tr>
       <td class="title">工作经历</td>
       <td colspan="3">
         <textarea rows="3" cols="28" name="judgeSearch.workExperience" id="workExperience" class="text ui-widget-content ui-corner-all"></textarea>
       </td>
      </tr>
      <tr>
       <td class="title">个人优势与特长</td>
       <td colspan="3">
         <textarea rows="3" cols="28" name="judgeSearch.speciality" id="speciality" class="text ui-widget-content ui-corner-all"></textarea>
       </td>
      </tr>
      <tr>
       <td class="title">备注</td>
       <td colspan="3">
         <textarea rows="3" cols="28" name="judgeSearch.remark" id="remark" class="text ui-widget-content ui-corner-all"></textarea>
       </td>
      </tr>
     </table>
    </s:form>
   </div>
  </div>
 </div>
 <s:form id="rForm">
  <input type="hidden" id="judgeId" name="judgeId" />
 </s:form>
</body>
</html>
